package com.dmc.hrl.service.impl;

import com.dmc.hrl.dao.mapper.TbTopNavMapper;
import com.dmc.hrl.domain.pojo.TbTopNav;
import com.dmc.hrl.service.TopNavService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: liang
 * @Date: 2019/12/5 9:09
 */
@Service
public class TopNavServiceImpl implements TopNavService {

    @Autowired
    private TbTopNavMapper tbTopNavMapper;

    @Override
    public List<TbTopNav> findAll() {
        return tbTopNavMapper.selectByExample(null);
    }
}
